class QuestionAnswer {
  String examId;
  String questionId;
  String answer;
  String rightAnswer;

  bool isCorrect() {
    return answer == rightAnswer;
  }

  QuestionAnswer({this.examId, this.questionId, this.rightAnswer, this.answer});
}
